package com.foreverwin.mes.production.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.foreverwin.mes.production.model.WorkDayRestTimeDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;


@Repository
public interface WorkDayRestTimeDetailMapper extends BaseMapper<WorkDayRestTimeDetail> {

    /**
     * 根据handle更新明细表数据数据
     *
     * @param oldHandle
     * @param newHandle
     * @param startTime
     * @param endTime
     * @param modifiedDateTime
     */
    void updateRestTimeDetail(@Param("oldHandle") String oldHandle, @Param("newHandle") String newHandle, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("modifiedDateTime") Date modifiedDateTime);

}